package com.xqboss.apps.domain.equipment;


import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

/**
 * 装备升级加点-配置
 * @author wangcong
 * @date 2023-11-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("装备升级加点-配置")
public class EquipmentUpgradeConfig extends BaseTable {

    private static final long serialVersionUID = 1L;


    /**
     * 主键id
     */
    @TableId
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 装备升级加点模版id
     */
    @ApiModelProperty("装备升级加点模版id")
    private Long upgradeTemplateId;

    /**
     * 检测藏品id
     */
    @ApiModelProperty("检测藏品id")
    private Long detectNftId;

    /**
     * 最小等级
     */
    @ApiModelProperty("最小等级")
    private Integer minLevel;

    /**
     * 最大等级
     */
    @ApiModelProperty("最大等级")
    private Integer maxLevel;

    /**
     * 最大属性加点
     */
    @ApiModelProperty("最大属性加点")
    private Integer attribute;

    /**
     * 升级最低经验比例
     */
    @ApiModelProperty("升级最低经验比例")
    private BigDecimal minExpRatio;

    /**
     * 天赋折算系数
     */
    @ApiModelProperty("天赋折算系数")
    private BigDecimal talentCoefficient;

    /**
     * 破损保底系数
     */
    @ApiModelProperty("破损保底系数")
    private BigDecimal breakageGuarantee;

    /**
     * 热豆最小平衡系数
     */
    @ApiModelProperty("热豆最小平衡系数")
    private BigDecimal integralMinRatio;

    /**
     * 热豆最大平衡系数
     */
    @ApiModelProperty("热豆最大平衡系数")
    private BigDecimal integralMaxRatio;

    @ApiModelProperty("最小消耗热豆")
    private BigDecimal integralMinExp;

    @ApiModelProperty("检测持仓")
    private Boolean detectHold;

    @ApiModelProperty("升级模式1开关")
    private Boolean modeOneEnable;

    @ApiModelProperty("升级模式2开关")
    private Boolean modeTwoEnable;

    @ApiModelProperty("突破消耗热豆")
    private BigDecimal breakHotBeans;

//    @ApiModelProperty("突破消耗材料id")
//    private Long breakMaterialId;

    @ApiModelProperty("突破保底次数")
    private Integer breakProtectNum;

    @ApiModelProperty("突破成功概率")
    private BigDecimal breakSuccessRatio;

    @ApiModelProperty("进化热豆消耗系数")
    private BigDecimal evolveHotBeansRatio;
}